
public class HockeyPlayer {
	private String firstName;
	private String lastName;
	
	private int goals;
	private int assists;
	
	
	public HockeyPlayer(String inFirstName, String inLastName) {
		firstName = inFirstName;
		lastName = inLastName;
		
		goals = 0;
		assists = 0;
	}
	
	public void addGoal() {
		goals++;
	}
	
	public void addAssist() {
		assists++;
	}
	
	public int getGoals() {
		return goals;
	}
	
	public int getAssists() {
		return assists;
	}
	
	public int getTotalPoints() {
		return (goals * 2)  + assists;
	}
}
